package com.zho.dao;

import java.util.List;

import com.zho.domain.bean.CgsUid;

/**
 * A data access object (DAO) providing persistence and search support for
 * CgsUid entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see com.zho.domain.bean.CgsUid
 * @author MyEclipse Persistence Tools
 */

public interface ICgsUidDAO {
	
	public void save(CgsUid transientInstance);

	public void delete(CgsUid persistentInstance);

	public CgsUid findById(String id);
	
	public List findByExample(CgsUid instance);

	public List findByProperty(String propertyName, Object value);

	public List findByCount(Object count);

	public List findByActiveFlg(Object activeFlg);

	public List findAll();
	
	public CgsUid merge(CgsUid detachedInstance);

	public void attachDirty(CgsUid instance);

	public void attachClean(CgsUid instance);
	
	public String genSequenceId(String prefix, String code) throws Exception;

}